package com.hmall.common.dto.feign;

import com.hmall.common.dto.AddressDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author: cuiliangbo
 * @Date: 2022/6/16 17:43
 */
@SuppressWarnings("all")
@FeignClient("userservice")
public interface UserClient {

    @GetMapping("/address/{id}")
    AddressDTO findAddressById(@PathVariable("id") Long id);






}